﻿<Window x:Class="NetworkEasyShare.search"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="NetworkEasyShare :: Search computer" Height="337" Width="645" ResizeMode="CanMinimize" SnapsToDevicePixels="False" Topmost="True">
    <Window.Resources>
        <ResourceDictionary Source="Style.xaml"/>
    </Window.Resources>
    <Grid>
        <Rectangle Name="backgroundRectangle" Style="{StaticResource BackgroundRectangle}" Margin="0,-3,0,0" Height="371" VerticalAlignment="Top" />

        <ListView Name="computerList"  Margin="12,12,12,40.757" ItemsSource="{Binding ComputerCollection}">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Nickname" 
                      DisplayMemberBinding="{Binding XPath=NickName}" Width="150px" />
                    <GridViewColumn Header="IP Address" 
                      DisplayMemberBinding="{Binding XPath=IPAddress}" Width="240px" />
                    <GridViewColumn Header="MAC Address"
                      DisplayMemberBinding="{Binding XPath=MACAddress}" Width="210px" />
                </GridView>
            </ListView.View>
        </ListView>

        <Button Height="23" Margin="12,0,311,12" Name="okButton" VerticalAlignment="Bottom" Click="okButton_Click">OK</Button>
        <Button Height="23" Margin="0,0,12,12" Name="closeButton" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="293" Click="closeButton_Click">Close</Button>
    </Grid>
</Window>
